﻿/**
* Title:"项目";
*
* Description:
*        功能：
*
* Author:Tongwel
*
* Date:2018.6
*
* Modify:
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

//发送消息，消息是原始数据。
//mvc内部把消息封装成Notification，进一步传递到别的模块
public class INotifier
{
    public string msg;     //消息类型
    public object body;    //消息体
    public string sender;  //消息发送者
    public INotifier() { }
    public INotifier(string msg, object body, string sender)
    {
        this.msg = msg;
        this.body = body;
        this.sender = sender;
    }
    public INotifier(string msg, object body) : this(msg, body, string.Empty) { }
    public INotifier(string msg) : this(msg, null, string.Empty) { }
}
